﻿@model  PagedList.IPagedList<VehicleOOBWeb.Models.Manufacturer>

@{
    ViewBag.Title = "Quản lý thông tin hãng xe";
    Layout = "~/Views/Shared/_Layout.cshtml";
}


@section featured {
    <div class="header2">
        <img class="right" src="/images/heder_bg.gif" alt="" />
        <h2 class="header2">Quản lý thông tin các hãng xe</h2>
    </div>
}
<p>
    @Html.ActionLink("Thêm mới hãng xe", "Create")
</p>
<table class="tbInherit">
    <tr>
        <th>
            Hãng Xe
        </th>
        <th></th>
    </tr>

    @foreach (var item in Model)
    {
        <tr>            
            <td>
               @item.manufacturer_name
            </td>
            <td>
                <a href="/Manufacturer/Edit/@item.manufacturer_code">
                    <img src='/Images/icon-edit.gif' alt='edit' />
                </a>

                <a href="/Manufacturer/Delete/@item.manufacturer_code">
                    <img src='/Images/icon-del.png' alt='del' />
                </a>
            </td>
        </tr>
    }

</table>

